$(function () {
    const signoutButton  = $('#signout');
    signoutButton.click(function () {
        $.post('/users/signout',function (res) {
            if(res.success){
                location.reload(true);
            }
        })
    })
});